1
general::
Also, that does the trick. The last requirement has been fulfilled; that accomplishes it. For example, That does it; we're ready to send in the application now, or That last screw does the trick? it's fully assembled. Grose's Dictionary of the Vulgar Tongue (1823) defines do the trick as "accomplish a robbery or other business successfully," and presumably the it in the first term stands for the trick. [Early 1800s] Also see THAT'S THAT.
American Heritage Idioms
2
general::
Phrase(s): That does it!
1. Inf. That completes it!; It is now done just right! • When Jane got the last piece put into the puzzle, she said, "That does it!" • John (signing a paper): Well, that’s the last one! That does it! Bill: I thought we’d never finish. 2. and That tears it! Inf. That’s the last straw!; Enough is enough! • Bill: We’re still not totally pleased with your work. Bob: That does it! I quit! • Sally: That tears it! I never want to see you again! Fred: I only put my arm around you!
McGrawhill's American Idioms And Phrasal Verbs